<tagLib name="html" />
<include file="../Public/header" />

<div id="main" class="main" >
    <div class="content">
        <div class="title">编辑配置 [ <A HREF="__URL__">返回列表</A> ]</div>
        <FORM METHOD=POST id="form1" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)" >
            <TABLE cellpadding=3 cellspacing=3>
                <TR>
                    <TD class="tRight" >变 量：</TD>
                    <TD class="tLeft" ><input TYPE="text" class="large bLeftRequire" check='^\S+$' warning="配置名不能为空,且不能含有空格" NAME="name" value="{$vo.name}"></TD>
                </TR>
                <TR>
                    <TD class="tRight" >名 称：</TD>
                    <TD class="tLeft" ><input TYPE="text" class="large bLeft"  NAME="title" value="{$vo.title}"></TD>
                </TR>
                <TR>
                    <TD class="tRight tTop">配 置：</TD>
                    <TD class="tLeft">
                        <TEXTAREA style="overflow:auto" class="large " NAME="value" ROWS="5" COLS="35">{$vo.value}</TEXTAREA>
                    </TD>
                </TR>
                <TR>
                    <TD class="tRight">类 型：</TD> 
                    <TD class="tLeft"><SELECT class="medium bLeft" NAME="type">
                            <option <equal name="vo.type" value="0" >selected</equal> value="0">字符型</option>
                            <option <equal name="vo.type" value="1" >selected</equal> value="1">数字型</option>
                            <option <equal name="vo.type" value="2" >selected</equal> value="2">布尔型</option>
                            <option <equal name="vo.type" value="3" >selected</equal> value="3">文本型</option>
                            <option <equal name="vo.type" value="4" >selected</equal> value="4">枚举型</option>
                        </SELECT></TD>
                </TR>
                <TR>
                    <TD class="tRight tTop">参 数：</TD>
                    <TD class="tLeft">布尔型、枚举型请输入参数（用,分割多个参数 用:分割值和显示）<BR><TEXTAREA class="bLeft large" NAME="extra" ROWS="5" COLS="35">{$vo.extra}</TEXTAREA><BR>布尔型采用两个参数，前面的表示否</TD>
                </TR>
                <TR>
                    <TD class="tRight tTop">备  注：</TD>
                    <TD class="tLeft"><TEXTAREA class="bLeft large" NAME="remark" ROWS="5" COLS="35">{$vo.remark}</TEXTAREA></TD>
                </TR>
                <TR>
                    <TD ></TD>
                    <TD class="center">
                        <input TYPE="hidden" name="id" value="{$vo.id}">
                        <input TYPE="hidden" name="ajax" value="1">
                        <div class="impBtn fLeft"><input TYPE="button" value="保存" onclick="sendForm('form1','__URL__/update/','tips')" class="save imgButton"></div>
                        <div class="impBtn fLeft hMargin"><input TYPE="reset" class="reset imgButton" value="清空" ></div>
                    </TD>
                </TR>
            </TABLE>
        </FORM>
    </div>
</div>
